Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

Previous Next

try setting the optional replace parameter to true

Hi,
In the documentation for the copyallitems method, it indicates that there is an optional replace parameter for this method.

Call notesDocument.CopyAllItems( notesDocument [, replace ] )

Here's what the documentation says about the replace parameter:

Boolean. If True, the items in the destination document are replaced. If False (default), the items in the destination document are appended.

When you omit the parameter the the default is false. So I would say that there is some sort of unhandled error when "appending" attachment objects to a document. In any case, I think that you will always want to set this parameter to true in all cases.

Best regards,
Heather Smith


Feedback response number WEBB8DGQXY created by ~Elizabeth Xanjumilyakoi on 01/26/2011

Client crashes when notesdocument.c... (~John Cisboosit... 26.Jan.11)
. . try setting the optional replace pa... (~Elizabeth Xanj... 26.Jan.11)
. . . . doument is new (~John Cisboosit... 27.Jan.11)
. . . . . . just a suggestion, here's more (~Elizabeth Xanj... 27.Jan.11)




Printer-friendly

Search this forum

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS